package com.ruoyi.system.mapper;

import com.ruoyi.common.core.domain.entity.SysGroup;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户组表 数据层
 * 
 * @author zyh
 */
@Mapper
public interface SysGroupMapper {
    int insert(SysGroup sysGroup);

    List<SysGroup> selectGroupList(SysGroup sysGroup);

    SysGroup selectGroupById(@Param("groupId") Long groupId);

    int updateGroup(SysGroup sysGroup);

    int deleteGroupByIds(Long[] groupIds);

}
